<layout name="Iflayout"/>
<div class="xyh-content">
    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header"><em class="glyphicon glyphicon-cloud-upload"></em>
                添加用户		    </h3>
        </div>

    </div>


    <div class="row">
        <div class="col-lg-12">

            <form method="post" class="form-horizontal" id="form_do" name="form_do" action="/xyhai.php?s=/Rbac/addUser">

                <div class="form-group">
                    <label for="inputUsername" class="col-sm-2 control-label">用户名</label>
                    <div class="col-sm-9">
                        <input name="username" id="inputUsername" value="" class="form-control" placeholder="用户名" required="required" type="text">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputPassword" class="col-sm-2 control-label">密码</label>
                    <div class="col-sm-9">
                        <input name="password" id="inputPassword" value="" class="form-control" placeholder="密码" required="required" type="password">
                    </div>
                </div>

                <div class="form-group">
                    <label for="inputRealname" class="col-sm-2 control-label">真实姓名</label>
                    <div class="col-sm-9">
                        <input name="realname" id="inputRealname" value="" class="form-control" placeholder="真实姓名" type="text">
                    </div>
                </div>

                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">所属权限组</label>
                    <div class="col-sm-9">
                        <select name="role_id[]" class="form-control">
                            <option value="0">请选择用户组</option>
                            <option value="1">管理员</option><option value="2">产品组</option>							</select>
                    </div>
                </div>

                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">锁定</label>
                    <div class="col-sm-9">
                        <label class="radio-inline">
                            <input name="islock" value="1" type="radio">是</label>
                        <label class="radio-inline">
                            <input name="islock" value="0" checked="checked" type="radio">否</label>
                    </div>
                </div>

                <div class="row margin-botton-large">
                    <div class="col-sm-offset-2 col-sm-9">
                        <div class="btn-group">
                            <button type="submit" class="btn btn-primary"> <i class="glyphicon glyphicon-saved"></i>
                                保存
                            </button>
                            <button type="button" onclick="goUrl('/xyhai.php?s=/Rbac/index')" class="btn btn-default"> <i class="glyphicon glyphicon-chevron-left"></i>
                                返回
                            </button>
                        </div>
                    </div>
                </div>
            </form>

        </div>
    </div>






</div>

</body></html>